<template>
  <div class="box">
<router-view></router-view>
    <!-- 引入头部组件 -->
    <Top></Top>
    <!-- logo部分 -->
    <div class="logoWrap">
      <img src="https://yanxuan.nosdn.127.net/static-union/164793255107785e.png" alt="" />
    </div>
    <!-- 登录模块 -->
    <div class="login">
      <router-link to="/codelogin">
        <div class="phone">
          <i class="iconfont icon-shouji"></i>
          <span class="phoneLogin" @click="login"> 手机号快捷登录 </span>
        </div>
      </router-link>
      <div class="email">
        <i class="iconfont icon-email"></i>
        <span class="emailLogin">邮箱账号登录</span>
      </div>
    </div>
    <!-- 底部QQ微信模块 -->
    <div class="bottom">
      <div class="wx">
        <i class="iconfont icon-weixin"></i>
        <span style="margin-left: 2.5px">微信</span>
      </div>

      <div class="qq">
        <i class="iconfont icon-QQ"></i>
        <span style="margin-left: 2.5px">QQ</span>
      </div>

      <div class="wb">
        <i class="iconfont icon-weibo"></i>
        <span style="margin-left: 2.5px">微博</span>
      </div>
    </div>
  </div>
</template>

<script>
import Top from "./components/top.vue";
export default {
  components: { Top },
  methods: {
    login() {},
  },
};
</script>

<style lang="less" scoped>
.box {
  width: 100%;
  height: 100%;
  background-color: #f2f4f5;
  /*logo模块*/
  .logoWrap {
    width: 100%;
    height: 125px;
    box-sizing: border-box;
    padding-top: 80px;
    img {
      width: 134px;
      height: 45px;
    }
  }
  /*登录模块*/
  .login {
    width: 100%;
    height: 160px;
    box-sizing: border-box;
    padding-top: 50px;
    .phone {
      width: 335px;
      height: 47px;
      background: #dd1a21;
      margin: auto;
      margin-bottom: 16px;
      border-radius: 2px;
      i {
        color: #fff;
        font-size: 22px;
        margin-right: 6px;
        position: relative;
        top: 9px;
      }
      .phoneLogin {
        display: inline-block;
        width: 98px;
        height: 15px;
        font-size: 14px;
        color: #fff;
        position: relative;
        top: 5px;
      }
    }
    .email {
      width: 335px;
      height: 47px;
      background: transparent;
      margin: auto;
      margin-bottom: 16px;
      border: 1px solid #dd1a21;
      border-radius: 2px;
      i {
        color: #dd1a21;
        font-size: 20px;
        margin-right: 3px;
        position: relative;
        top: 9px;
      }
      .emailLogin {
        display: inline-block;
        width: 98px;
        height: 15px;
        font-size: 14px;
        color: #dd1a21;
        position: relative;
        top: 5px;
      }
    }
  }
  /*底部模块*/
  .bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent;
    margin-top: 270px;
    .wx {
      padding: 0 20px;
      height: 100%;
    }
    .qq {
      padding: 0 20px;
      height: 100%;
      border-left: 1px solid #bbb;
      border-right: 1px solid #bbb;
    }
    .wb {
      padding: 0 20px;
      height: 100%;
    }
  }
}
</style>
